<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
		<title></title>
		<link rel="stylesheet" href="../css/pintuer.css">
		<link rel="stylesheet" href="../css/admin.css">
		<script src="../js/jquery.js"></script>
		<script src="../js/pintuer.js"></script>


		
	</head>
	<body>
		<div class="panel admin-panel">
		<div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改会议</strong></div>
		<div class="body-content">
			<form method="post" class="form-x" action="MeetingServlet?flag=4" id="edit-form">

				<input type="hidden" name="id" value="${meeting.id}">
				<div class="form-group">
		        <div class="label">
		          <label>会议名称：</label>
		        </div>

		        <div class="field">
		          <input type="text" class="input w50" value="${meeting.mName}" name="mName" data-validate="required:请输入会议名称" />

		          <div class="tips"></div>
		        </div>
		      </div>
		      
		      <%--<div class="form-group">
		        <div class="label">
		          <label>会议内容：</label>
		        </div>
		        <div class="field">
		          <input type="text" class="input w50" value="" name="content" data-validate="required:请输入会议内容" />
		          <div class="tips"></div>
		        </div>
		      </div>--%>
		      
		      <div class="form-group">
		        <div class="label">
		          <label>开始时间：</label>
		        </div>
		        <div class="field">
		          <input type="text" class="input w50" value="${meeting.tStart}" name="tStart" data-validate="required:请输入会议内容" />
		          <div class="tips"></div>
		        </div>
		      </div>
		      
		      <div class="form-group">
		        <div class="label">
		          <label>结束时间：</label>
		        </div>
		        <div class="field">
		          <input type="text" class="input w50" value="${meeting.tEnd}" name="tEnd" data-validate="required:请输入会议内容" />
		          <div class="tips"></div>
		        </div>
		      </div>
		      
		      <div class="form-group">
		        <div class="label">
		          <label>会议室：</label>
		        </div>
		        <div class="field">
		              <select name="rId" class="input" style="width:200px; line-height:17px;" >
		              <option value="${meeting.rId}">${meeting.rName}</option>
		              <c:forEach items="${rooms}" var="room">
		              
		              <option value="${room.id}">${room.boardRoomName}</option>
		              
		              </c:forEach>
		            </select>
		    
		        </div>
		      </div>
<%--		   预定人是用户  --%>
				<input type="hidden" name="wId" value="${meeting.wId}">
		      

						 
						 
				<div class="form-group">
				   <div class="label">
					 <label></label>
				   </div>
				   <div class="field">
					 <button class="button bg-main icon-check-square-o" type="submit" id="edit"> 提交</button>
				   </div>
				
				</div>
				
			</form>
		</div>
		</div>
	</body>
</html>